<template>
	
	<view class="content">
		<view class="content-neirong">
			<image class="loading-img" :src="errorImg" mode=""></image>
			<view class="tip-text">申请失败</view>
			<view class="tip-span">原因:{{errorText}}</view>
			<view class="phone-text">如有疑问可拨打：020-12345678</view>
		</view>
		<view class="tuichu-btn" @click="shenqing">重新申请</view>
	</view>
</template>

<script>
	import http from '../../api/api-index.js'
	import baseUrl from '../../utils/config.js'
	
	export default{
		data(){
			return{
				errorImg:baseUrl+'/uploads/static/image/recovery_user_center_icon_audit_fault@2x.png',
				errorText:''
			}
		},
		onLoad(){
			let userInfo = JSON.parse(uni.getStorageSync('userInfo')) 
			this.errorText = userInfo.recycler.reject_msg
		},
		methods:{
			shenqing(){
				uni.redirectTo({
					url:'/pages/recoveryCenter/unregistered'
				})
			}
		}
	}
</script>

<style>
	.content{width: 100%;min-height: 100vh;background-color: #F8F9FD;box-sizing: border-box;padding: 12px;font-family: 'PingFang Bold';}
	.content-neirong{width: 100%;box-sizing: border-box;padding: 35px;background-color: #fff;border-radius: 10px;}
	.loading-img{width: 86px;height: 80px;margin: 0 auto;display: block;}
	.tip-text{width: 100%;text-align: center;font-size: 21px;margin-top: 15px;}
	.tip-span{width: 100%;text-align: center;font-size: 14px;margin-top: 15px;}
	.phone-text{width: 100%;text-align: center;font-size: 14px;margin-top: 185px;color: #999;}
	.tuichu-btn{width: 100%;height: 45px;text-align: center;line-height: 45px;color: #fff;font-size: 16px;border-radius: 10px;background-color: #00CB8B;margin-top: 40px;}
</style>